package com.hk.commons.vo.app;

import java.io.Serializable;


public class UserPointsMsg implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 175300068289842272L;
	
	/**
	 * 推送给客户的积分信息
	 */
	private String msg;
	
	/**
	 * 积分变更的结果
	 */
	private Boolean result;
	
	
	/**
	 * 总积分
	 */
	private String totalPoints;
	
	/**
	 * 可用积分
	 */
	private String leftPoints;
	
	
	/**
	 * 已用积分
	 */
	private String usedPoints;
	
	
	public String getTotalPoints() {
		return totalPoints;
	}

	public void setTotalPoints(String totalPoints) {
		this.totalPoints = totalPoints;
	}

	public String getLeftPoints() {
		return leftPoints;
	}

	public void setLeftPoints(String leftPoints) {
		this.leftPoints = leftPoints;
	}

	public String getUsedPoints() {
		return usedPoints;
	}

	public void setUsedPoints(String usedPoints) {
		this.usedPoints = usedPoints;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Boolean getResult() {
		return result;
	}

	public void setResult(Boolean result) {
		this.result = result;
	}

	public String toString(){
		return "积分变化的结果为" + (result?"成功":"失败") + "  msg = " + msg 
				+ "  总积分为  " + this.totalPoints + "  已用积分为 " + this.usedPoints 
				+ "  可用积分为 " + this.leftPoints;
	}
}


 
